import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/rain/HelloWorld'
import HelloWorldH from '@/components/base/HelloWorld'
import HelloWorldR from '@/components/river/HelloWorld'
import Detail from '@/components/rain/Detail'
import DetailH from '@/components/base/Detail'
import DetailR from '@/components/river/Detail'
import Home from '@/components/Home'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/HelloWorld',
      name: 'HelloWorld',
      component: HelloWorld
    }, {
      path: '/HelloWorldH',
      name: 'HelloWorldH',
      component: HelloWorldH
    }, {
      path: '/HelloWorldR',
      name: 'HelloWorldR',
      component: HelloWorldR
    },
    {
      path: '/Detail',
      name: 'Detail',
      component: Detail
    },{
      path: '/DetailH',
      name: 'DetailH',
      component: DetailH
    },{
      path: '/DetailR',
      name: 'DetailR',
      component: DetailR
    },
  ]
})
